<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title> 客服系统</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->
    <link rel="shortcut icon" href="/Public/favicon.ico">

    <link href="/Public/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/Public/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="/Public/css/animate.css" rel="stylesheet">
    <link href="/Public/css/style.css?v=4.1.0" rel="stylesheet">

    <style>
        .kf_function {
            display: flex;
            float: left;
            padding-top: 10px;
            /*text-align: center;*/
            /*border: 1px  dotted #c3c3c3;*/
            /*padding: 12px;*/
            color: white;
            font-size: 16px;
            /*border-radius: 2px 2px 5px 2px ;*/
            width: 85%;
            height: 80px;
            /*margin: 0 0 1% 10%;*/
        }
    </style>
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">

<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                            <a  href="/">
                                <span class="clear">
                                    <span class="block m-t-xs" style="font-size:20px;">
                                        <i class="fa fa-area-chart"></i>
                                        <strong class="font-bold">客服系统</strong>
                                    </span>
                                </span>
                            </a>
                        </a>
                    </div>
                    <div class="logo-element">客服系统
                    </div>
                </li>
                <li class="active">
                    <a class="J_menuItem" href="<{$SRVER_NAME}>/admin.php/Notice/noticelist?rid=6">
                        <i class="fa fa-home"></i>
                        <span class="nav-label">主页</span>
                    </a>
                </li>
                <volist name="top_power" id="top">
                    <li>
                        <if condition="$top['name'] neq '客户中心'">
                            <a href="#">
                                <switch name="top.actionname">
                                    <case value="UserCenter"><i class="fa fa-user"></i></case>
                                    <case value="UserInfo"><i class="fa fa-user"></i></case>
                                    <case value="CustomerService"><i class="fa fa-user"></i></case>
                                    <case value="ContactCenter"><i class="fa fa-user"></i></case>
                                    <case value="Overdue"><i class="fa fa-calendar-check-o"></i></case>
                                    <case value="Knowledge"><i class="fa fa-leanpub"></i></case>
                                    <case value="Notice"><i class="fa fa-volume-up"></i></case>
                                    <case value="WorkOrder"><i class="fa fa-table"></i></case>
                                    <case value="ServerLog"><i class="fa fa-sticky-note-o"></i></case>
                                    <case value="Outbound"><i class="fa fa-sticky-note-o"></i></case>
                                    <case value="InOutbound"><i class="fa fa-sticky-note-o"></i></case>
                                    <case value="OutboundManerger"><i class="fa fa-sticky-note-o"></i></case>
                                    <case value="AntiUser"><i class="fa fa-user"></i></case>
                                </switch>
                                <span class="nav-label"><{$top.name}></span><span class="fa arrow"></span>
                                <if condition="$top['name'] eq '联络中心'">
                                    <span class=" label-warning pull-right" style="width: 15px;align-content: center"><{$unresolve}></span>
                                </if>
                                <if condition="$top['name'] eq '工单中心'">
                                    <span class=" label-warning pull-right" style="width: 15px;align-content: center" id="order_num">0</span>
                                </if>
                            </a>
                            <else/>
                            <a class="J_menuItem" href="<{$SRVER_NAME}>/admin.php/UserCenter/user_list_info?rid=39">
                                <i class="fa fa-user"></i>
                                <span class="nav-label">客户中心</span>
                            </a>
                        </if>
                        <ul class="nav nav-second-level">
                            <volist name="next_power" id="next">
                                <if condition="$next['pid'] eq $top['id']">
                                    <if condition="$top['name'] neq '客户中心'">
                                        <if condition="($next['name'] eq '未还款逾期列表') or ($next['name'] eq '已还款逾期列表')">
                                            <li><a class="J_menuItem"
                                                   href='<{$SRVER_NAME}>/admin.php/<{$top.actionname}>/<{$next.actionname}>&rid=<{$next.id}>'><{$next.name}></a>
                                            </li>
                                            <elseif condition="$next['name'] eq '客服在线反馈记录'"/>
                                            <li><a class="J_menuItem"
                                                   href='<{$SRVER_NAME}>/admin.php/<{$top.actionname}>/<{$next.actionname}>?rid=<{$next.id}>'><{$next.name}>
                                                <span class=" label-warning pull-right"><{$unresolve}></span></a>
                                            </li>
                                            <else/>

                                            <li><a class="J_menuItem"
                                                   href='<{$SRVER_NAME}>/admin.php/<{$top.actionname}>/<{$next.actionname}>?rid=<{$next.id}>'><{$next.name}></a>
                                            </li>
                                        </if>
                                    </if>
                                </if>
                            </volist>
                        </ul>
                    </li>
                </volist>
                <if condition="($rid eq '3')">
                    <li>
                        <a href="javascript:void(0);"><i class="fa fa-edit"></i> <span
                                class="nav-label">权限管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a class="J_menuItem" href="<{$SRVER_NAME}>/admin.php/Power/power">添加权限</a>
                            </li>
                            <li><a class="J_menuItem" href="<{$SRVER_NAME}>/admin.php/CustomerService/rolelist?rid=42">角色列表</a>
                            </li>
                        </ul>
                    </li>
                </if>
            </ul>
        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header" style="width: 95%"><a
                        class="navbar-minimalize minimalize-styl-2 btn btn-info " href="#"><i
                        class="fa fa-bars"></i></a>
                    <!--<if condition="$show eq '1'">-->
                        <!--<div class="kf_function">-->
                            <!--<iframe id='id_phonebar' src="<{$SRVER_NAME}>/admin.php/PhoneBar/phonebar.html?loginName=<{$name}>&password=<{$password}>"-->
                                    <!--width="100%" frameborder="0" scrolling="no" marginheight="0"-->
                                    <!--style="text-decoration: none "></iframe>-->
                        <!--</div>-->
                    <!--</if>-->
                </div>
                <ul class="nav navbar-top-links navbar-right">
                    <li class="dropdown">
                        <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                            <i class="fa fa-cog"></i>
                        </a>
                        <ul class="dropdown-menu dropdown-messages">
                            <li class="m-t-xs">
                                <div class="dropdown-messages-box">
                                    <!-- <a href="<{:U('Index/Admin/info')}>"   class="pull-left  J_menuItem">
                                        <img alt="image" class="img-circle" src="<{$m_logo}>">
                                    </a> -->
                                    <div class="media-body">
                                        <a href="<{$SRVER_NAME}>/admin.php/Admin/modifypwd"> <strong><{$m_username}></strong>
                                            <br>
                                            <small class="text-muted"><{$m_str}></small>
                                        </a>
                                    </div>
                                </div>
                            </li>

                            <li class="divider">

                            </li>
                            <!--<if  condition="$role eq '11'">-->

                            <!--</if>-->
                            <li>
                                <div class="text-center link-block">
                                    <a class="J_menuItem" href="javascript:;" id="Exit_system">
                                        <i class="fa  fa-power-off"></i> <strong> 退出登录</strong>
                                    </a>
                                </div>
                            </li>
                        </ul>
                    </li>
                </ul>
            </nav>
        </div>
        <div class="row J_mainContent" id="content-main">
            <iframe id="J_iframe" width="100%" height="100%" src="<{$SRVER_NAME}>/admin.php/Notice/noticelist?rid=6" frameborder="0"
                    data-id="<{$SRVER_NAME}>/admin.php/Notice/noticelist?rid=6" seamless></iframe>
        </div>
    </div>
    <!--右侧部分结束-->
</div>
<div id=app></div>

<!-- 全局js -->
<script src="/Public/js/jquery.min.js?v=2.1.4"></script>
<script src="/Public/js/bootstrap.min.js?v=3.3.6"></script>
<script src="/Public/js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="/Public/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<script src="/Public/js/plugins/layer/layer.min.js"></script>

<!-- 第三方插件 -->


<!-- 自定义js -->
<script src="/Public/js/hAdmin.js?v=4.1.0"></script>
<script type="text/javascript" src="/Public/js/index.js"></script>
<script type="text/javascript">
//    setInterval('get_order_num()',60000);
//    get_order_num();
//    function get_order_num() {
//
//         $.post('<{$SRVER_NAME}>/admin.php/Index/get_order_num',{},function (data) {
//             console.log('696969',data);
//             $('#order_num').html(data.count);
//         });
//    }
//　　　　var luj='<{$SRVER_NAME}>/admin.php';
//       console.log('2323',luj);
    $(document).ready(function () {
        var logout = "<{$SRVER_NAME}>/admin.php/Login/logout";
        $('#Exit_system').on('click', function () {
            layer.confirm('是否确定退出系统？', {
                    btn: ['是', '否'],//按钮
                    icon: 2,
                },
                function () {
                    location.href = logout;
                });
        });
    });
</script>

</body>
</html>
